home *** CD-ROM | disk | FTP | other *** search
- #################################################################################
- # Postscript mode.
- #
- # Only supports colouring at present.
- #
- #================================================================================
-
- alpha::mode PS 0.2 source {*.ps *.PS *.eps *.epsf *.pdf *.PDF} {} {
- } help {
- PS mode is useful for viewing the internal commands of both
- PostScript (.ps) and Portable Document Format (.pdf) files.
-
- PS mode currently supports colouring of /commands and %comments.
- This "PostScript Example.ps" link is a PostScript version of
- the first four pages of the Getting Started With LaTeX manual.
- }
-
- newPref v prefixString {% } PS
- set PSKeyWords {
- FontDirectory GlobalFontDirectory ISOLatin1Encoding
- StandardEncoding UserObjects VMerror abs add aload anchorsearch
- and arc arcn arct arcto array ashow astore atan awidthshow
- begin bind bitshift bytesavailable cachestatus ceiling charpath
- clear cleardictstack cleartomark clip clippath cliprestore
- clipsave closefile closepath colorimage composefont concat
- concatmatrix configurationerror copy copypage cos count
- countdictstack countexecstack counttomark cshow
- currentblackgeneration currentcacheparams currentcmykcolor
- currentcolor currentcolorrendering currentcolorscreen
- currentcolortransfer currentdash currentdevparams currentdict
- currentfile currentflat currentfont currentglobal currentgray
- currentgstate currenthalftone currentlinecap currentlinejoin
- currentlinewidth currentmatrix currentmiterlimit
- currentobjectformat currentoverprint currentpacking
- currentpagedevice currentpoint currentrgbcolor currentscreen
- currentsmoothness currentstrokeadjust currentsystemparams
- currenttransfer currentundercolorremoval currentuserparams
- curveto cuttenthsbcolor cvi cvlit cvn cvr cvrs cvs cvx def
- defaultmatrix definefont defineresource defineuserobject
- deletefile dict dictfull dictstack dictstackoverflow
- dictstackunderflow div dtransform dup echo end eoclip eofill eq
- erasepage error errordict exch exec execform execstack
- execstackoverflow executeonly executive exit exp false file
- filenameforall filesposition fill filter findcolorrendering
- findefont findencoding findresource flattenpath floor flush
- flushfile for forall gcheck ge get getinterval globaldict
- glyphshow grestore grestoreall gsave gt handleerror identmatrix
- idiv idtransform if ifelse image imagemask index ineofill
- infill initclip initgraphics initmatrix instroke interrupt
- inueofill inufill inustroke invalidaccess invalidexit
- invalidfileaccess invalidfont invalidrestore invertmatrix
- ioerror itransform known kshow languagelevel le length
- limitcheck lineto ln load log loop lt makefont makepattern
- matrix maxlength mod moveto mul ne neg newpath noaccess
- nocurrentpoint not null nulldevice or packedarray pathbbox
- pathforall pop print printobject product prompt pstack put
- putinterval quit rand rangecheck rcheck rcurveto read
- readhexstring readline readonly readstring realtime rectclip
- rectfill rectstroke renamefile repeat resetfile resourceforall
- resourcestatus restore reversepath revision rlineto rmoveto
- roll rootfont rotate round rrand run save scale scalefont
- search selectfont serialnumber setbbox setblackgeneration
- setcachedevice setcachedevice2 setcachelimit setcacheparams
- setcharwidth setcmykcolor setcolor setcolorrendering
- setcolorscreen setcolorspace setcolortransfer setdash
- setdevparams setfileposition setflat setfont setglobal setgray
- setgstate sethalftone sethsbcolor setjoin setlinecap
- setlinewidth setmatrix setmiterlimit setobjectformat
- setoverprint setpacking setpagedevice setpattern setrgbcolor
- setscreen setsmoothness setstrokeadjust setsystemparams
- settransfer setucacheparams setundercolorremoval setuserparams
- setvmthreshold shfill show showpage sin sqrt srand stack
- stackoverflow stackunderflow start startjob status statusdict
- stop stopped store string stringwidth stroke strokepath sub
- syntaxerror systemdict timeout token token transform translate
- true truncate type typecheck uappend ucache ucachestatus
- ueofill ufill undef undefined undefinedfilename
- undefinedresource undefinedresult undefinefont undefineresource
- undefineuserobject unmatchedmark unregistered upath userdict
- usertime ustroke ustrokepath version vmreclaim vmstatus wcheck
- where widthshow write writehexstring writeobject writestring
- xcheck xor xshow xyshow yshow
- }
- if {[info exists PSwords]} {set PSKeyWords [concat $PSKeyWords $PSwords]}
- regModeKeywords -e {%} -m {/} -c red -k blue PS $PSKeyWords -i "\}" -i "\{" -i "\[" -i "\]" -I green
-
-
-